Xbasic

OBJECT.GETACTIVEOBJPARENT Function

Syntax

Container_Object as P = .GetActiveObjParent()

Description

Returns a pointer to the parent container of the object that has focus.

Discussion

The <OBJECT>.GETACTIVEOBJPARENT() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.GETACTIVEOBJPARENT()returns a pointer to the container of the object that has focus.

Limitations

Desktop applications only.

See Also